<?php


namespace app\common\model;
use think\Model;
use think\Db;
use think\Exception;
use EasyWeChat\Factory;

class PayCall extends Model
{

    // 更新数据
    static public function updateOrder()
    {
        Db::startTrans();
        try{

            Db::commit();
            return true;
        }catch(Exception $exception)
        {
            Db::rollback();
            return false;
        }

    }


}